package com.example.clientend.service.Impl;

import com.alibaba.fastjson.JSONObject;
import com.example.clientend.service.StringMatcherService;
import com.example.clientend.utils.StringMatcher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StringMatcherServiceImpl implements StringMatcherService {
    @Autowired
    StringMatcher stringMatcher;
    @Override
    public JSONObject readInfo() {
        return stringMatcher.readInfo();
    }

    @Override
    public boolean infoCheck(JSONObject info) {
        return stringMatcher.infoCheck(info);
    }
}
